[Instances] Create a new compute instance
Provision a new virtual machine instance with the specified configuration. The instance will be created in the specified project and datacenter location. Instance creation is an asynchronous operation; monitor the task status for completion. Add-ons in addon_ids are billed on the same order, as through the cart (addon_not_available otherwise).
Authorizations
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Path Parameters
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Body
253^(?=.{1,253}$)(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*$hourly- hourlymonthly- monthlyquarterly- quarterlysemi_annually- semi_annuallyannually- annuallybiennially- bienniallytriennially- triennially
hourly, monthly, quarterly, semi_annually, annually, biennially, triennially Datacenter location of the instance. Defaults to Paris DC1 when omitted.
Slug or id of an active control panel installed after creation
100Paid add-ons to order with the instance, billed on the same order as the instance. Each entry is a size add-on id (available_addons[].id), an add-on id or an add-on slug of the chosen size. A Windows image still requires the Windows Server licence add-on.
20100Contract version ids the customer ticked before ordering
Response
Instance creation initiated successfully
Instance hostname
255Billing status
pending- Pendingprovisioning- Provisioningactive- Activesuspended- Suspendedterminated- Terminatedcancelled- Cancellederror- Error
pending, provisioning, active, suspended, terminated, cancelled, error Operating system name
free- Freeone_time- One Timehourly- Hourlymonthly- Monthlyquarterly- Quarterlysemi_annually- Semi-Annuallyannually- Annuallybiennially- Bienniallytriennially- Triennially
free, one_time, hourly, monthly, quarterly, semi_annually, annually, biennially, triennially Amount billed at each renewal
^-?\d{0,10}(?:\.\d{0,2})?$For prepaid only
When cancellation was requested, effective at billing_end_date
Reason provided for cancellation request
Reason picked for cancellation
too_expensive- Too expensiveno_longer_needed- No longer neededmissing_feature- Missing featuretechnical_issue- Technical issueswitching_provider- Moving to another providerother- Other
too_expensive, no_longer_needed, missing_feature, technical_issue, switching_provider, other ^-?\d{0,13}(?:\.\d{0,2})?$Whether the instance OS/service has been installed
Snapshot option active on the service
Backup option active on the service
backup- Backuprestore- Restoresnapshot- Snapshotmigration- Migrationother- Other
backup, restore, snapshot, migration, other, null Custom tags
50
